package com.jingdianjichi.subject.converter;

import com.jingdianjichi.subject.eneity.SubjectAnswerBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectRadio;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface RadioSubjectConverter {
    RadioSubjectConverter INSTANCE = Mappers.getMapper(RadioSubjectConverter.class);
    SubjectRadio converterBoToCategory(SubjectAnswerBO subjectAnswerBO);
    List<SubjectAnswerBO> converterRadiosToSubjectAnswerBOs(List<SubjectRadio> subjectRadios);

}
